Yoast\WP\Test_Helper\Plugin_Toggler A

Total Complexity 55
Dependencies 3
Dependents 1
Total lines 444
Lines of code 208
Logical lines of code 99
Comment lines 171
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
add_toggle()
S
45 6 45
ajax_toggle_plugin()
S
57 6 17
check_plugins()
S
57 6 17
init()
S
57 5 17
get_plugin_groups()
S
58 4 16
get_active_plugin()
S
61 4 12
deactivate_plugin_group()
S
62 4 11
get_group_from_plugin_name()
S
63 4 11
verify_nonce()
S
69 3 6
activate_plugin()
S
63 3 10
handle_submit()
S
68 2 6
has_rights()
S
78 2 3
__construct()
S
81 1 3
add_additional_hooks()
S
71 1 5
add_hooks()
S
69 1 7
get_controls()
S
66 1 8
add_assets()
S
66 1 9
init_plugin_groups()
S
72 1 5